<?=$this->form ( $this->element->getName (), $this->element->getAttribs (), false ); ?>
<?php
    echo $this->renderElement ( $this->element->codtab );
    echo $this->renderElement ( $this->element->codboton );
    echo $this->renderElement ( $this->element->codboton2 );
    echo $this->renderElement ( $this->element->codrecursoproceso);
    echo $this->renderElement ( $this->element->subtiporecurso );
    echo $this->renderElement ( $this->element->accion );
    
?>
<div align="center" width="100%">
<table width="100%">
	<tr align="center">
		<td valign="top" >
		<table width="95%" align="center" class="iceDatTbl zebra">
			<?php if (isset($this->element->nombrerecurso)):?>
			<tr>
				<th width="30%"><?php
				echo $this->element->nombrerecurso->renderLabel ();
				?></th>
				<td width="70%"><?php
				echo $this->renderElement ( $this->element->nombrerecurso );
				echo $this->element->nombrerecurso->renderErrors ();
                ?>
				</td>
			</tr>
			<?php else:?>
			<tr>
				<th width="30%"><?php
				echo $this->element->tiporecurso->renderLabel ();
				?></th>
				<td width="70%"><?php
				echo $this->renderElement ( $this->element->tiporecurso );
				echo $this->element->tiporecurso->renderErrors ();
                ?>
                <span id="otrorecursocual" style="display:none">&nbsp;&nbsp;&nbsp;&nbsp;<strong>* Cual ?:</strong> </span>
                <?php
				//echo $this->element->otranorma->renderLabel ();
				echo $this->renderElement ( $this->element->otrorecurso );
				echo $this->element->otrorecurso->renderErrors ();
                ?>
				</td>
			</tr>
			<?php endif;?>
			<tr>
				<th><?php
				echo $this->element->cantidad->renderLabel ();
				?></th>
				<td><?php
				echo $this->renderElement ( $this->element->cantidad );
				echo $this->element->cantidad->renderErrors ();
				?>
				</td>
			</tr>
			<tr>
				<th><?php
				echo $this->element->ubicacion->renderLabel ();
				?></th>
				<td><?php
				echo $this->renderElement ( $this->element->ubicacion );
				echo $this->element->ubicacion->renderErrors ();
				?></td>
			</tr>
			<tr>
				<th><?php
				echo $this->element->descripcion->renderLabel ();
				?></th>
				<td><?php
				echo $this->renderElement ( $this->element->descripcion );
				echo $this->element->descripcion->renderErrors ();
                ?>
				</td>
			</tr>
			<tr>
				<th width="30%"><?php
				echo $this->element->tipounidadacademica->renderLabel ();
				?></th>
				<td width="70%"><?php
				echo $this->renderElement ( $this->element->tipounidadacademica );
				echo $this->element->tipounidadacademica->renderErrors ();
                ?>
                <span id="otraunidadcual" style="display:none">&nbsp;&nbsp;&nbsp;&nbsp;<strong>* Cual ?:</strong> </span>
                <?php
				//echo $this->element->otranorma->renderLabel ();
				echo $this->renderElement ( $this->element->otraunidad );
				echo $this->element->otraunidad->renderErrors ();
                ?>
				</td>
			</tr>
		    <?php
			if (! $this->element->isStatic ()) :
			?>
		    <tr>
				<td colspan="2" class="iceDatTblRow2"><div align="center">
		        <?php echo $this->renderElement ( $this->element->btnSubmit );
					$params1=App_Util_SafeUrl::encriptar(array("codtab"=>3,"codboton"=>4,"codboton2"=>2),true);
					?>
					<input type="button" name="cancelar" id="cancelar" value="Cancelar" onclick="location.href ='<?php echo $this->baseUrl("/solicitudes/infoprograma/index/{$params1}")?>'"/>
			    </div></td>
			</tr>
			<?php
			endif;
			?>
</table>
</div>
</form>